package com.novasoftware.novagooglemap.framework.activity;

import com.google.android.maps.GeoPoint;
import com.google.android.maps.MapActivity;
import com.google.android.maps.MapView;
import com.novasoftware.novagooglemap.infrastructure.enums.MapType;

public class BaseMapActivity extends MapActivity {

	public MapView BMapView;
	
	protected MapType mMapType = MapType.Street;

	@Override
	protected boolean isRouteDisplayed() {
		return false;
	}
	
	public void CreateMap(MapView mapView,GeoPoint centerPoint)
	{
		BMapView = mapView;
		SetMapType(MapType.Street);

		mapView.setBuiltInZoomControls(true);
		mapView.setClickable(true);
		mapView.getController().setCenter(centerPoint);
		mapView.getController().setZoom(16);
	}
	
	private void SetMapType(MapType mapType)
	{
		mMapType = mapType;
		//BMapView.setSatellite(true);
	}

}
